<ion-view class="content-color" title="工作汇报" cache-view="false" >
  <ion-content scroll="true">
    <div >
      <div class="row " style="height: 185px;margin-top: 8px">
        <div class="col col-50 text-center">
          <div class="sign-img">
            <!--<img width=75 height=75 style="margin-top: 15px" ng-src="{{'data:image/png;base64,'+userImage || 'img/default-avatar.png'}}">-->
            <img width=75 height=75 style="margin-top: 15px" src='img/default-avatar.png'>
          </div>
          <!-- 部门-->
          <div class="text-white-middle" >{{userDepartment}}</div>
          <!-- 人员-->
          <div class="text-white-middle" style="margin-top: 5px;">{{userName}}</div>
        </div>
        <div class="col col-50 text-center">
          <!-- 年月日-->
          <div class="text-white-middle" >{{year}}年{{month}}月{{date}}日</div>
          <!-- 星期-->
          <div class="text-white-middle" >星期{{day}}</div>
          <!-- 时间-->
          <div class="text-white-big" style="margin-top: 30px">{{time}}&nbsp;&nbsp;<a class="text-green-middle">{{apm}}</a></div>
        </div>
      </div>
      <div class="color-blue-light" >
        <div class="row " >
          <div class="col col-33 text-center">
            <div class="text-white-middle" >项目</div>
          </div>
          <div class="col col-67 " style="margin-left: 10px">
            <input class="input-middle " id="name" type="text" ng-model="task_name" ng-click="getProject()" >
          </div>


        </div>
        <div class="row " >
          <div class="col col-33 text-center">
            <div class="text-white-middle" >日期</div>
          </div>
          <div class="col col-67 " style="margin-left: 10px">
            <input class="input-middle " id="date" type="datetime" ng-model="task_date" ng-click="changeDate()"  >
          </div>
        </div>
        <div class="row " >
          <div class="col col-33 text-center">
            <div class="text-white-middle" >时间段</div>
          </div>
          <div class="col col-67 " style="height: 30px;">
            <!--<form>-->
            <!--<input type="radio" name="times"  value="am" ng-change="check(value)">&nbsp;<a class="text-white-middle">上午</a>&nbsp;-->
            <!--<input type="radio" name="times"  value="pm" ng-change="check(value)">&nbsp;<a class="text-white-middle">下午</a>&nbsp;-->
            <!--<input type="radio" name="times"  value="apm" ng-change="check(value)">&nbsp;<a class="text-white-middle">全天</a>&nbsp;-->
            <!--</form>-->
            <div class="row">
              <div class="col col-33" ng-repeat="item in radio_list">
                <label class="text-white-middle" ><input class="input-radio" name="times" type="radio" ng-checked="item.check" ng-value="item.value" ng-change="radioChange(item)" ng-model="data.apm"/>{{ item.text }}</label>
              </div>
            </div>
           <!-- <div class="float-left"  >
              <input  style="width: 20px;height: 20px;border-radius: 50%;"

                      type="radio" ><a class="text-white-middle"></a>
            </div>-->
          </div>

        </div>
        <div class="row " style="margin-top: 5px">
          <div class="col col-67 text-center" >
            <textarea iframe-keyboard-attach="appIFrame" class="textarea-style" id="taskDetail"  placeholder="这里可以输入详细内容" rows="3" ng-model="data.task_detail" ></textarea>
          </div>
          <div class="col col-33 text-center">
            <button class="button button-green-square " ng-click="submitReportData()">提交</button>
          </div>
        </div>
      </div>
    </div>
    <div class="list">
      <div class="row " ng-repeat="report in report_list">
        <div class="col col-25 text-center text-black-ellipsis">
          {{report.OperationDate| filterDate}}<br>
          {{report.TimeSlotEnum | filterApm}}
        </div>
        <div class="col col-50 text-black-ellipsis">
          {{report.ProjectName}}<br>
          {{report.WorkContent}}
        </div>
        <div class="col text-center" >
          <button class=" button button-yellow " ng-click="changeReport(report)">编辑</button>
        </div>

      </div>
    </div>
  </ion-content>


  <!--<ion-content class="has-header content-color has-sub-header-report">




  </ion-content>-->
</ion-view>
